package com.ruoyi.smartHighway.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 巡查任务信息对象 t_inspection_task
 * 
 * @author ljj
 * @date 2024-08-01
 */
public class InspectionTask extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 巡查任务ID */
    private Long taskId;

    /** 巡查编码 */
    @Excel(name = "巡查编码")
    private String taskCode;

    /** 巡查标题 */
    @Excel(name = "巡查标题")
    private String taskTitle;

    /** 执行状态：0-未执行，1-执行中，2-已执行 */
    @Excel(name = "执行状态：0-未执行，1-执行中，2-已执行")
    private Integer taskStatus;

    /** 巡查起点名称 */
    @Excel(name = "巡查起点名称")
    private String startName;

    /** 巡查终点名称 */
    @Excel(name = "巡查终点名称")
    private String endName;

    /** 巡查起点经纬度 */
    private String startPoint;

    /** 巡查终点经纬度 */
    private String endPoint;

    /** 巡查距离 */
    private BigDecimal distance;

    /** 巡查轨迹 */
    private String track;

    /** 巡查轨迹截图 */
    private String trackPic;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 执行人 */
    @Excel(name = "执行人")
    private String checkPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 异常状态：0-无异常，1-有异常 */
    @Excel(name = "异常状态：0-无异常，1-有异常")
    private Integer breakStatus;

    /** 查询时间开始 */
    private String queryTimeStart;

    /** 查询时间截止 */
    private String queryTimeEnd;

    public String getQueryTimeStart() {
        return queryTimeStart;
    }

    public void setQueryTimeStart(String queryTimeStart) {
        this.queryTimeStart = queryTimeStart;
    }

    public String getQueryTimeEnd() {
        return queryTimeEnd;
    }

    public void setQueryTimeEnd(String queryTimeEnd) {
        this.queryTimeEnd = queryTimeEnd;
    }

    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskCode(String taskCode) 
    {
        this.taskCode = taskCode;
    }

    public String getTaskCode() 
    {
        return taskCode;
    }
    public void setTaskTitle(String taskTitle) 
    {
        this.taskTitle = taskTitle;
    }

    public String getTaskTitle() 
    {
        return taskTitle;
    }
    public void setTaskStatus(Integer taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public Integer getTaskStatus() 
    {
        return taskStatus;
    }
    public void setStartName(String startName) 
    {
        this.startName = startName;
    }

    public String getStartName() 
    {
        return startName;
    }
    public void setEndName(String endName) 
    {
        this.endName = endName;
    }

    public String getEndName() 
    {
        return endName;
    }
    public void setStartPoint(String startPoint) 
    {
        this.startPoint = startPoint;
    }

    public String getStartPoint() 
    {
        return startPoint;
    }
    public void setEndPoint(String endPoint) 
    {
        this.endPoint = endPoint;
    }

    public String getEndPoint() 
    {
        return endPoint;
    }
    public void setDistance(BigDecimal distance) 
    {
        this.distance = distance;
    }

    public BigDecimal getDistance() 
    {
        return distance;
    }
    public void setTrack(String track) 
    {
        this.track = track;
    }

    public String getTrack() 
    {
        return track;
    }
    public void setTrackPic(String trackPic) 
    {
        this.trackPic = trackPic;
    }

    public String getTrackPic() 
    {
        return trackPic;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCheckPerson(String checkPerson) 
    {
        this.checkPerson = checkPerson;
    }

    public String getCheckPerson() 
    {
        return checkPerson;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setBreakStatus(Integer breakStatus) 
    {
        this.breakStatus = breakStatus;
    }

    public Integer getBreakStatus() 
    {
        return breakStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskCode", getTaskCode())
            .append("taskTitle", getTaskTitle())
            .append("taskStatus", getTaskStatus())
            .append("startName", getStartName())
            .append("endName", getEndName())
            .append("startPoint", getStartPoint())
            .append("endPoint", getEndPoint())
            .append("distance", getDistance())
            .append("track", getTrack())
            .append("trackPic", getTrackPic())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("checkPerson", getCheckPerson())
            .append("phoneNumber", getPhoneNumber())
            .append("breakStatus", getBreakStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
